﻿@model MvcTricks.RoundTripModelBinding.TestWebsite.ViewModels.ShoppingBasketViewModel
@if (Model.OrderLines.Any())
{ 
    foreach (var line in Model.OrderLines)
    {
         <p>@line.Product.SKU @line.Product.ProductName (@line.Quantity items - @line.Total.ToString("N") GBP)</p>
    }
    <b>Total: @Model.Total.ToString("N") GBP</b>
}
else
{
    <p>The basket is empty</p>
}